﻿<!DOCTYPE html>
<html lang="en">
<head>
    <title>使用isFinite()函数</title>
</head>
<body>
    <script>
        document.write(isFinite(123) + "<br>");
        document.write(isFinite(-1.23) + "<br>");
        document.write(isFinite(5 - 2) + "<br>");
        document.write(isFinite(0) + "<br>");
        document.write(isFinite("Hello") + "<br>");
        document.write(isFinite("2017/12/12") + "<br>");
    </script>
</body>
</html>
